/* ------ 定义门户通用样式以及通用组件样式 ------ */

/* 表单 */
.portal-com-form {
    position: relative;
    padding: 10px;
}

.portal-com-form-item {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 30px;
    margin: 15px 0;
}

.portal-com-form-item-label {
    position: relative;
    padding-left: 30px;
    color: #000;
}

.portal-com-form-item-label:after {
    position: relative;
    top: -.5px;
    margin: 0 8px 0 2px;
    content: ":";
}

.portal-com-form-item-control {
    position: relative;
    color: #000;
}

/* 清除ant开关组件的底部外边距 */
.portal-com-form .ant-switch {
    margin-bottom: 0 !important;
}

/* 清除ant对话框组件的底部内边距 */
.portal-com-dialog .ant-modal {
    padding-bottom: 0 !important;
}

/* 清除wea上传组件的顶部内边距 */
.portal-com-dialog .wea-upload {
    padding-top: 0;
}

/* 设置wea下拉选择组件的宽度为100% */
.portal-com-dialog .wea-select {
    width: 100%;
}

/* 设置wea滚动条组件的高度为100% */
.portal-com-scroll {
    height: 100%;
}

/* 设置ant加载中组件为水平和垂直居中显示 */
.portal-com-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
}

.portal-com-scroll .ant-spin-nested-loading {
    position: relative;
    width: 100%;
    height: 100%;
}
